package com.lmn.oval;

/**
 * @version 4.0
 * @describe:
 * @author: houkai
 * @Date: 2019/1/15 17:19
 */
public class CheckUtil {

    public static boolean isNotBlank(String str) {
        int length;
        if (str != null && (length = str.length()) != 0) {
            for (int i = 0; i < length; ++i) {
                if (!Character.isWhitespace(str.charAt(i))) {
                    return true;
                }
            }

            return false;
        } else {
            return false;
        }
    }


}
